﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Module
{
    /// <summary>
    /// 地区省市实体
    /// </summary>
    [Serializable]
    public class AreaInfo
    {
        #region Model
        private long _areaid;
        private int _areacode;
        private string _areaname;
        private int _parentid;
        /// <summary>
        /// 地区Id
        /// </summary>
        public long AreaId
        {
            set { _areaid = value; }
            get { return _areaid; }
        }
        /// <summary>
        /// 地区编号
        /// </summary>
        public int AreaCode
        {
            set { _areacode = value; }
            get { return _areacode; }
        }
        /// <summary>
        /// 地区名称
        /// </summary>
        public string AreaName
        {
            set { _areaname = value; }
            get { return _areaname; }
        }
        /// <summary>
        /// 上级行政单位
        /// </summary>
        public int ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        #endregion Model
    }
}
